const express=require('express');
const compression=require('compression')
const app=express();

// 开启gip压缩，在静态托管之前
app.use(compression())

app.use(express.static('./dist'))


app.listen(80,()=>{
  console.log('servering at:http://127.0.0.1:80')
})